package com.ct.application.shipping.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ct.application.commons.vo.StatusRequest;
import com.ct.application.shipping.model.po.ChuanYuanKuFuWuBuSavePO;
import com.ct.application.shipping.model.po.ChuanYuanKuFuWuBuSearchPO;
import com.ct.application.shipping.model.vo.ChuanYuanKuFuWuBuVO;
import com.ct.repository.commons.IBaseService;
import com.ct.shipping.orm.ChuanYuanKuFuWuBuDO;

/**
 * <p>
 * 船员证书-服务薄 服务类
 * </p>
 *
 * @author carlo
 */
public interface ChuanYuanKuFuWuBuService extends IBaseService<ChuanYuanKuFuWuBuDO> {
    Page<ChuanYuanKuFuWuBuVO> findChuanYuanKuFuWuBu(ChuanYuanKuFuWuBuSearchPO searchPO);

    ChuanYuanKuFuWuBuVO saveChuanYuanKuFuWuBu(ChuanYuanKuFuWuBuSavePO savePO);

    ChuanYuanKuFuWuBuVO getChuanYuanKuFuWuBu(Long id);

    ChuanYuanKuFuWuBuVO updateChuanYuanKuFuWuBu(ChuanYuanKuFuWuBuSavePO savePO);

    boolean delChuanYuanKuFuWuBu(Long id);

    boolean updateStatus(StatusRequest statusRequest);
}
